<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="PasDoc 0.11.0">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<title>Crispy Plotter Documentation: FormSettings</title>
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body bgcolor="#ffffff" text="#000000" link="#0000ff" vlink="#800080" alink="#FF0000">
<h1 class="unit">Unit FormSettings</h1>
<table class="sections wide_list">
<tr>
<td><a class="section"  href="#%40Description">Description</a></td><td>uses</td><td><a class="section"  href="#%40Classes">Classes, Interfaces, Objects and Records</a></td><td><a class="section"  href="#%40FuncsProcs">Functions and Procedures</a></td><td>Types</td><td>Constants</td><td><a class="section"  href="#%40Variables">Variables</a></td></tr></table>
<a name="%40Description"></a><h2 class="description">Description</h2>
<p>
Contains the settings form.</p>
<a name="%40Uses"></a><h2 class="overview">Overview</h2>
<a name="%40Classes"></a><h3 class="cio">Classes, Interfaces, Objects and Records</h3>
<table class="classestable wide_list">
<tr class="listheader">
<th class="itemname">Name</th>
<th class="itemdesc">Description</th>
</tr>
<tr class="list">
<td class="itemname">Class&nbsp;<a class="bold"  href="FormSettings.TfSettings.html"><code>TfSettings</code></a></td>
<td class="itemdesc">This form displays the settings screen.</td>
</tr>
</table>
<a name="%40FuncsProcs"></a><h3 class="summary">Functions and Procedures</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code>function <b><a   href="FormSettings.html#GetColorIndex">GetColorIndex</a></b>(const Colors: <a   href="CPBase.TCPColorTheme.html">TCPColorTheme</a>): Integer;</code></td>
</tr>
<tr class="list2">
<td class="itemcode"><code>function <b><a   href="FormSettings.html#BrowseForFolder">BrowseForFolder</a></b>(Handle: HWND; Path: string): string;</code></td>
</tr>
</table>
<a name="%40Variables"></a><h3 class="summary">Variables</h3>
<table class="summary wide_list">
<tr class="list">
<td class="itemcode"><code><b><a   href="FormSettings.html#fSettings">fSettings</a></b>: <a   href="FormSettings.TfSettings.html">TfSettings</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Functions and Procedures</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="GetColorIndex"></a><code>function <b>GetColorIndex</b>(const Colors: <a   href="CPBase.TCPColorTheme.html">TCPColorTheme</a>): Integer;</code></td>
</tr>
<tr><td colspan="1">
<p>
Compares a plotter color palette with all color palette presets and returns the index of the preset with the same color values. If no such preset exists, the index of the default color preset is returned.</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="BrowseForFolder"></a><code>function <b>BrowseForFolder</b>(Handle: HWND; Path: string): string;</code></td>
</tr>
<tr><td colspan="1">
<p>
Opens a dialog for selecting a folder. This function uses the global variable g_pMalloc, which is assumed to point to the shell's IMalloc interface.  </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>Handle</dt>
<dd>Handle of the application's main window</dd>
<dt>Path</dt>
<dd>Initial path</dd>
</dl>
</td></tr>
</table>
<h3 class="detail">Variables</h3>
<table class="detail wide_list">
<tr class="list">
<td class="itemcode"><a name="fSettings"></a><code><b>fSettings</b>: <a   href="FormSettings.TfSettings.html">TfSettings</a>;</code></td>
</tr>
<tr><td colspan="1">
&nbsp;</td></tr>
</table>
<hr noshade size="1"><span class="appinfo"><em>Generated by <a  target="_parent" href="http://pasdoc.sourceforge.net/">PasDoc 0.11.0</a> on 2009-07-25 15:33:04</em>
</span>
</body></html>
